package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.entity.ExpenseReportDetail;
import com.xja.mapper.ExpenseReportDetailMapper;
import com.xja.service.ExpenseReportDetailService;
@Service
public class ExpenseReportDetailServiceImpl implements ExpenseReportDetailService{

    @Resource
    private ExpenseReportDetailMapper expenseReportDetailMapper;

    @Override
    public int deleteByPrimaryKey(Integer edid) {
        return expenseReportDetailMapper.deleteByPrimaryKey(edid);
    }

    @Override
    public int insert(ExpenseReportDetail record) {
        return expenseReportDetailMapper.insert(record);
    }

    @Override
    public int insertSelective(ExpenseReportDetail record) {
        return expenseReportDetailMapper.insertSelective(record);
    }

    @Override
    public ExpenseReportDetail selectByPrimaryKey(Integer edid) {
        return expenseReportDetailMapper.selectByPrimaryKey(edid);
    }

    @Override
    public int updateByPrimaryKeySelective(ExpenseReportDetail record) {
        return expenseReportDetailMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ExpenseReportDetail record) {
        return expenseReportDetailMapper.updateByPrimaryKey(record);
    }

}
